<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
    <head>
<title>报考系统管理员登陆</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #1D3647;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<link rel="stylesheet" type="text/css" href="__ROOT__/css/skin.css" />
<script type="text/javascript" src="__ROOT__/js/jquery.js"></script>
<script type="text/javascript">
    $(function(){
        $('#admin_name').focus();
        $('#tijiao').click(function(){
            var admin_name=$('#admin_name').val();
            var admin_pwd=$('#admin_pwd').val();

            if(check(admin_name,admin_pwd)){
                $('#pop').load("<?php echo U('system/check');?>",{
                    'admin_name':admin_name,
                    'admin_pwd':admin_pwd
                });
            }
        });


        $('#cancle').click(function(){
            $('#admin_name').val('');
            $('#admin_pwd').val('');
            $('#pop').html('<br />');
            $('#admin_name').focus();
        });

        function check(admin_name,admin_pwd){
            if(admin_name==''){
                $('#pop').html('用户名不能为空！请填写用户名！');
                $('#admin_name').focus();
                return false;
            }

            if(admin_pwd==''){
                $('#pop').html('用户密码不能为空！请填写用户密码！');
                $('#admin_pwd').focus();
                return false;
            }
            return true;
        }

        $('#pop').ajaxStart(function(){
            $('#pop').html('数据请求中...请稍后...');
        });



    });
</script>
    </head>
<body>
<table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg">
      <tr>
        <td width="49%" align="right"><table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2">
            <tr>
              <td height="138" valign="top"><table width="89%" height="427" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="149">&nbsp;</td>
                </tr>
                <tr>
                  <td height="80" align="right" valign="top"><img src="__ROOT__/images/admin_login/logo.png" width="279" height="68" /></td>
                </tr>
                <tr>
                  <td height="198" align="right" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="35%">&nbsp;</td>
                      <td height="25" colspan="2" class="left_txt"><p></p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td height="25" colspan="2" class="left_txt"><p></p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td height="25" colspan="2" class="left_txt"><p></p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td width="30%" height="40" class="left_txt3"><img src="__ROOT__/images/admin_login/icon-demo.gif" width="16" height="16" /><a href="http://www.cn-024.cn" target="_blank" class="left_txt3"> 使用说明</a> </td>
                      <td width="35%" class="left_txt3"><img src="__ROOT__/images/admin_login/icon-login-seaver.gif" width="16" height="16" /><a href="http://www.cn-024.cn" class="left_txt3"> 在线客服</a></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" valign="bottom"><table width="100%" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%" height="38"><span class="login_txt_bt">登陆报考管理系统后台</span></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21"><table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table211" height="328">
                  <tr>
                    <td height="164" colspan="2" align="left">
                        <div id="pop" style="color:red;font-size: 12px;"><br /></div>
                        <table cellSpacing="0" cellPadding="0" width="100%" border="0" height="143" id="table212">
                          <tr>
                            <td width="13%" height="38" class="top_hui_text"><span class="login_txt">用户名：&nbsp;&nbsp; </span></td>
                            <td height="38" colspan="2" class="top_hui_text"><input class="editbox4" value="" id="admin_name" style="width:150px;" />                            </td>
                          </tr>
                          <tr>
                            <td width="13%" height="35" class="top_hui_text"><span class="login_txt"> 密 码： &nbsp;&nbsp; </span></td>
                            <td height="35" colspan="2" class="top_hui_text"><input class="editbox4" type="password" id="admin_pwd" style="width:150px;" />
                              <img src="__ROOT__/images/admin_login/luck.gif" width="19" height="18" /> </td>
                          </tr>
                            <!--
                          <tr>
                            <td width="13%" height="35" ><span class="login_txt">验证码：</span></td>
                            <td height="35" colspan="2" class="top_hui_text">
                                <input class=wenbenkuang name=verifycode type=text value="" maxLength=4 size=10 />
                              </td>
                          </tr>
                            -->
                          <tr>
                            <td height="35" >&nbsp;</td>
                            <td width="20%" height="35"><input type="submit" class="button" id="tijiao" value="登 陆" /> </td>
                            <td width="67%" class="top_hui_text"><input type="button" class="button" id="cancle" value="取 消" /></td>
                          </tr>
                        </table>
                        <br />
                    </form></td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom"><img src="__ROOT__/images/admin_login/login-wel.gif" width="242" height="138" /></td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login-buttom-txt">Copyright &copy; 2009-2010 <a href="http://www.cn-024.cn" target="_blank" style="color: #ffffff;">www.cn-024.cn</a></span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>